<?php

namespace common\logics\trade;

use Yii;
use yii\db\Exception;
use common\models\shop\ShopOrder;
use common\models\shop\ShopOrderLog;
use common\models\shop\ShopGoodsStatistic;
use common\models\trade\TradeRefund as TableTradeRefund;
use common\helpers\Utils;
use common\models\shop\OrderRefund;
use common\models\trade\Trade;
use common\models\trade\TradeOrder;
use common\models\trade\TradePartner;
use common\helpers\Curl;

/**
 * 交易成功后异步通知业务处理
 * BusinessNotify
 *
 * @author emhome <emhome@163.com>
 * @since 2.0
 */
class BusinessNotifyLogic extends BasePaymentModel {

//    use BusinessNotifyTrait;
//
//    public $id;
//    private $_partner = null;
//    private $_trade = null;

    public static function notify($event) {
        $trade = $event->data;
        Yii::error($trade->attributes);
    }

}
